package com.fastshopping.order.pojo;

import javax.persistence.Id;
import javax.persistence.Table;

/*
 * @Author zhangdan
 * @Description //TODO 素材实体类
 * @Date 19:37 2020/6/5
 * @Param 
 * @return 
 **/
@Table(name = "tb_material")
public class Material {


    @Id
    private Integer id;                 //素材id
    private Integer user_id;            //用户id
    private String name;               //素材名称
    private String category;           //素材类别
    private String child_category;     //素材子类别
    private Double price;              //价格
    private String author_id;          //上传作者编号
    private Integer store_id;           //店铺id
    private String img;                //素材图片
    private String buy_status;         //购买状态 默认0:没购买,1:已购

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getChild_category() {
        return child_category;
    }

    public void setChild_category(String child_category) {
        this.child_category = child_category;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getAuthor_id() {
        return author_id;
    }

    public void setAuthor_id(String author_id) {
        this.author_id = author_id;
    }

    public Integer getStore_id() {
        return store_id;
    }

    public void setStore_id(Integer store_id) {
        this.store_id = store_id;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getBuy_status() {
        return buy_status;
    }

    public void setBuy_status(String buy_status) {
        this.buy_status = buy_status;
    }
}
